<?php
 class UserSignInForm extends sfForm
 {
     public function configure()
     {
        
        $this->setWidgets(array(
            'user_id'       =>      new sfWidgetFormInputText(),
            'pwd'           =>      new sfWidgetFormInputPassword()

        ));

        $this->setValidators(array(
            'user_id'       =>      new sfValidatorString(),
            'pwd'           =>      new sfValidatorString()
        ));

        $this->widgetSchema->setNameFormat('user[%s]');
        $this->disableCSRFProtection();        
     }
     
 }
?>